package imooc;

import java.util.Scanner;

public class demo {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        System.out.print("请输入初始值:");
        int score = sc.nextInt();
        System.out.println("加分前的成绩:"+score);
        int count=0;
        while(score<60){
            score++;
            count++;
        }
        System.out.println("加分后的成绩:"+score);
        System.out.println("共加了"+count+"次!");
    }
}
